all:publish consumer
publish : publish.cc
	g++ -g -std=c++17 $^ -o $@ -lamqpcpp -lev -lfmt -lspdlog -lgflags
consumer : consumer.cc
	g++ -g -std=c++17 $^ -o $@ -lamqpcpp -lev -lfmt -lspdlog -lgflags

.PHONY:clean
clean:
	rm -f publish consumer